<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2022-08-12CSS 输入字段文本和渐变边框动画效果</title>
    <link rel="stylesheet" href="/2022-08-12CSS 输入字段文本和渐变边框动画效果/css/style.css">
</head>
<body>
    <div class="inputBox">
        <input type="text" required="required">
        <span>First Name</span>
        <i></i>
    </div>
    <div class="inputBox">
        <input type="text" required="required">
        <span>Last Name</span>
        <i></i>
    </div>
</body>
</html>